 public class Test05 {
    public static void main(String[] args) {
      int line = 5;
      for(int i = 1;i <= line;i++){
         //control the number of spaces in each line
         for(int j = 0;j < line-i;j++){
            System.out.print(" ");
         }
         //control the output*
         for(int k = 0;k < (2 * i -1);k++){
            System.out.print("*");
         }
         
         System.out.println("");
      }
   }
 }